﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TrainingWorkshop.Model;
using System.ServiceModel;

namespace WCFContracts
{
    /// <summary>
    /// Author：Sissi-Zeng
    /// Date:2012-08-28 16:34
    /// In this file , IProjectBService provides interface to Client about student business unit
    /// </summary>
   
    public partial interface IProjectBService
    {
        /// <summary>
        /// Get all students who take the course
        /// </summary>
        /// <param name="courseId">Given courseId</param>
        /// <returns>List of Student</returns>
        [OperationContract]
        List<Student> GetStudentListByCourse(int courseId);

        /// <summary>
        /// Get all students who don't take the course
        /// </summary>
        /// <param name="courseId">Given courseId</param>
        /// <returns>List of Student</returns>
        [OperationContract]
        List<Student> GetStudentListsNoInCourse(int courseId);
    }
}
